package com.ryskoo.catering.billmain.domain;

import com.ryskoo.framework.core.bean.BasicPO;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;

/**
 * 账单表
 * @author BeHappy
 */
@Entity
@Table(name = "cater_bill_main")
public class BillMainPO extends BasicPO {


    private static final long serialVersionUID = 9099665094074790989L;
    /**
     * 商户uuid
     */
    @Column(name = "vendor_uuid", columnDefinition = "char", length = 32)
    private String vendorUuid;

    /**
     * 账单日期
     */
    @Column(name = "bill_date", columnDefinition = "char", length = 7)
    private String billDate;


    /**
     * 账单金额
     */
    @Column(name = "money", columnDefinition = "decimal", length = 11, precision = 2)
    private double money;

    public String getVendorUuid() {
        return vendorUuid;
    }

    public void setVendorUuid(String vendorUuid) {
        this.vendorUuid = vendorUuid;
    }

    public String getBillDate() {
        return billDate;
    }

    public void setBillDate(String billDate) {
        this.billDate = billDate;
    }

    public double getMoney() {
        return money;
    }

    public void setMoney(double money) {
        this.money = money;
    }
}
